leaveGroup

suspend fun leaveGroup(groupID: String, leaveGroupType: LeaveGroupType = LeaveGroupType.LEAVE_ONLY): GroupInfo

Leaves a group with the specified groupID.

https://github.com/signalapp/Signal-Desktop/blob/37d47764729d3cc6e8a8d9aeba1c0d2501549bcb/ts/models/conversations.ts#L2428

Parameters

leaveGroupType

Other actions to perform when leaving a group. Defaults to just leaving the group without requesting that other devices block the group or delete its chat history.

Throws